package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Festival;
import org.darkforest.model.TagFestivalRelation;

import java.util.List;

@DBMapper
public interface TagFestivalRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TagFestivalRelation record);

    int insertSelective(TagFestivalRelation record);

    TagFestivalRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TagFestivalRelation record);

    int updateByPrimaryKey(TagFestivalRelation record);

    int deleteByCondition(TagFestivalRelation tagFestivalRelation);

    List<Festival> selectByTagId(Integer tagId);
}